package com.example.pay_service.otherservice;

import com.example.pay_service.return_data.Mall_Data;
import com.example.pay_service.vo.Mingxi;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author TLJ
 * @title: UserService
 * @projectName mall_
 * @description: TODO
 * @date 2021/12/243:14
 */
@Component
@FeignClient(name = "USERSERVICE")
public interface UserService {
    @RequestMapping("/update_member_existing_integral")
    @ApiOperation("修改用户积分")
    public Mall_Data update_member_existing_integral(@ApiParam("用户id")@RequestParam("userid") int userid,
                                                     @ApiParam("积分格式例如-500或+500")@RequestParam(value = "jifen",required = false)String str, Mingxi mingxi);

}
